import $ from 'zepto';
import Vue from 'vue';
import {ToastPlugin, AlertPlugin, ConfirmPlugin} from 'wmu2';
import {Keyboard,Keyinput,WiiPopup,WiiRater} from 'wmu2';

var components = [Keyboard,Keyinput,WiiPopup,WiiRater];

components.map(component => {
    if(component&&typeof component.name!=='undefined'){
    	console.log(component.name);
        Vue.component(component.name, component);
    }
});

Vue.use(ToastPlugin);
Vue.use(AlertPlugin);